package org.example._00_base;

public class Hello2 {

    public static void main(String[] args) {
//        _00_HelloWorld helloWorld = new _00_HelloWorld();
//        _00_HelloWorld helloWorld2 = new _00_HelloWorld();
//
//        System.out.println(helloWorld);
//        System.out.println(helloWorld2);


        char s1 = '中';
        String s2 = "ji中,dlafjdka,";
        char c = s2.charAt(2);

        //i中
        String substring = s2.substring(1, 3);
        System.out.println(substring);
        System.out.println(c);
        int length = s2.length();
        //false
        boolean empty = s2.isEmpty();

        String[] split = s2.split(",");
        String ss = split[0];
        System.out.println(ss);
        String sss = split[1];
        System.out.println(sss);

//        char s1 = 's';
//        System.out.println(helloWorld.get());
    }
}
